package com.example.aicooking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("post")
public class Post {
    @TableId(type = IdType.AUTO)
    private Long postId;
    private String title;
    private String avatar;
    private String nickName;
    private String userId;
    private String content;
    private String image;
    private Integer likeCount;
    private Integer commentCount;
    private Date createTime;
}